package com.hhkj.study.api.index.model.res;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hhkj.study.admin.dict.model.res.DictMultiLevelRes;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Map;

/**
 * @Author luowu
 * @Date 2024/9/30 涵 9:51:06
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiDictTreeListRes extends DictMultiLevelRes {

    /**
     * 资讯id,考试动态需要
     */
    private Long articleId;

    /**
     * 下级菜单
     */
    private List<ApiDictTreeListRes> children;

    @JsonIgnore
    @Override
    public List<Map<String, Object>> getExtendTypeMap() {
        return super.getExtendTypeMap();
    }

    @JsonIgnore
    @Override
    public String getExtendTypeValue() {
        return super.getExtendTypeValue();
    }

    @JsonIgnore
    @Override
    public List<Map<String, Object>> getExtendIdMap() {
        return super.getExtendIdMap();
    }

    @JsonIgnore
    @Override
    public String getExtendIdValue() {
        return super.getExtendIdValue();
    }

    @JsonIgnore
    @Override
    public String getContent() {
        return super.getContent();
    }
}
